From 1b0a666ed45b9331c269eafca7b8acfc8368d5c1 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Wed, 7 Mar 2012 19:07:40 +0000 Subject: [PATCH] Follow up to r113142; fix incorrect conversion to array (value can be array already) --- includes/HTMLForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index e896c01332..3b3e1b692d 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -1087,7 +1087,7 @@ abstract class HTMLFormField { $helptext = null; if ( isset( $this->mParams['help-message'] ) ) { - $this->mParams['help-messages'] = (array)$this->mParams['help-message']; + $this->mParams['help-messages'] = array( $this->mParams['help-message'] ); } if ( isset( $this->mParams['help-messages'] ) ) { -- 2.20.1